package miracle.joker.design.state;

public class StateDemo {
    public static void main(String[] args) {
        Context context = new Context();

        State normalState = new NormalState();
        context.setState(normalState);
        context.handle();

        State vipState = new VIPState();
        context.setState(vipState);
        context.handle();
    }
}
